home *** CD-ROM | disk | FTP | other *** search
/ Scene 96 / Scene 96 International Edition (Zyklop Software) (Disc 2) (1997).iso / misc / coding / midas060 / src / mconfig.h < prev    next >
Encoding:
C/C++ Source or Header  |  1997-01-16  |  2.2 KB  |  92 lines

  1. /*      MCONFIG.C
  2.  *
  3.  * MIDAS Sound System configuration. Meant to be used with the simplified
  4.  * MIDAS API, MIDAS.C
  5.  *
  6.  * $Id: mconfig.h,v 1.2 1997/01/16 18:41:59 pekangas Exp $
  7.  *
  8.  * Copyright 1996,1997 Housemarque Inc.
  9.  *
  10.  * This file is part of the MIDAS Sound System, and may only be
  11.  * used, modified and distributed under the terms of the MIDAS
  12.  * Sound System license, LICENSE.TXT. By continuing to use,
  13.  * modify or distribute this file you indicate that you have
  14.  * read the license and understand and accept it fully.
  15. */
  16.  
  17.  
  18. #ifndef __MCONFIG_H
  19. #define __MCONFIG_H
  20.  
  21.  
  22. #ifdef __cplusplus
  23. extern "C" {
  24. #endif
  25.  
  26.  
  27.  
  28. /****************************************************************************\
  29. *
  30. * Function:     int midasConfig(void)
  31. *
  32. * Description:  MIDAS Sound System configuration. Prompts the user for all
  33. *               configuration information and sets the MIDAS variables
  34. *               accordingly. Call before midasInit() but after
  35. *               midasSetDefaults().
  36. *
  37. * Returns:      1 if configuration was successful, 0 if not (Esc was pressed)
  38. *
  39. \****************************************************************************/
  40.  
  41. int CALLING midasConfig(void);
  42.  
  43.  
  44.  
  45.  
  46. /****************************************************************************\
  47. *
  48. * Function:     void midasLoadConfig(char *fileName);
  49. *
  50. * Description:  Loads configuration from file saved using midasSaveConfig().
  51. *
  52. * Input:        char *fileName          configuration file name, ASCIIZ
  53. *
  54. \****************************************************************************/
  55.  
  56. void CALLING midasLoadConfig(char *fileName);
  57.  
  58.  
  59.  
  60.  
  61. /****************************************************************************\
  62. *
  63. * Function:     void midasSaveConfig(char *fileName);
  64. *
  65. * Description:  Saves configuration to a file
  66. *
  67. * Input:        char *fileName          configuration file name, ASCIIZ
  68. *
  69. \****************************************************************************/
  70.  
  71. void CALLING midasSaveConfig(char *fileName);
  72.  
  73.  
  74.  
  75. #ifdef __cplusplus
  76. }
  77. #endif
  78.  
  79.  
  80.  
  81. #endif
  82.  
  83.  
  84. /*
  85.  * $Log: mconfig.h,v $
  86.  * Revision 1.2  1997/01/16 18:41:59  pekangas
  87.  * Changed copyright messages to Housemarque
  88.  *
  89.  * Revision 1.1  1996/05/22 20:49:33  pekangas
  90.  * Initial revision
  91.  *
  92. */